package com.study.talk.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.talk.module.entity.Moment;
import com.study.talk.module.entity.MomentLike;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author thor
 * @since 2024-3-13
 */
public interface MomentLikeService extends IService<MomentLike> {
    ArrayList<MomentLike> getListByMomentId(Integer momentId);

    void updateLikeState(Integer momentId, Integer userId, Integer likeState);
}
